package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "SeriesOrderPayReq", description = "旅游团订单支付Req")
public class SeriesOrderPayReq implements Serializable {

    @NotNull(message = "订单id不能为空")
    @ApiModelProperty(value = "订单ID", required = true)
    private Long orderId;

    @ApiModelProperty(value = "业务类型", required = true)
    private Integer businessTypeId;

    /**
     * @see com.ctshk.rpc.payment.enums.PaymentMethod
     */
    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty(value = "支付方式,1:HK支付宝_H5,2:CH支付宝_H5,3:HK支付宝_PC,4:CH支付宝_PC,5:HK支付宝_APP,6:CH支付宝_APP," +
            "7:微信支付_NATIVE,8:微信支付_APP,9:银联在线支付-APP,10:银联在线支付-WEB,11:银联在线支付-WAP,12:Visa/MasterCard-托管", required = true)
    private Integer paymentMethod;

    @ApiModelProperty(value = "用户id")
    private Long userId;

}
